/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.bo;

import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdLoadExperiment;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdLoadExperiment.class, reverseConvertGenerate = false)
public class IsfdLoadExperimentBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 载荷版本id
     */
    @NotNull(message = "载荷版本id不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long loadcaseVersionId;

    /**
     * 试验名称
     */
    @NotBlank(message = "试验名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String loadExperimentName;

    /**
     * 载荷类型
     */
    @NotBlank(message = "载荷类型不能为空", groups = {AddGroup.class, EditGroup.class})
    private String loadType;

    /**
     * 试验阶段
     */
    @NotBlank(message = "试验阶段不能为空", groups = {AddGroup.class, EditGroup.class})
    private String stage;

    /**
     * 原始载荷名称
     */
    @NotBlank(message = "原始载荷名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String originalFileName;

    /**
     * 节点信息文件名称
     */
    @NotBlank(message = "节点信息文件名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String nodeInformationFileName;

    /**
     * 载荷节点编号名称
     */
    @NotBlank(message = "载荷节点编号名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String nodeLoadNumberFileName;

    /**
     * 7.2_升降舵铰链坐标系信息
     */
    @NotBlank(message = "7.2_升降舵铰链坐标系信息不能为空", groups = {AddGroup.class, EditGroup.class})
    private String elevatorHingeCoordinateSystemInformation;

    /**
     * 状态
     */
    @NotBlank(message = "状态不能为空", groups = {AddGroup.class, EditGroup.class})
    private String state;

    /**
     * 历史试验id
     */
    @NotNull(message = "历史试验id不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long historyLoadExperimentId;

    /**
     * 方向舵铰链坐标信息
     */
    @NotBlank(message = "方向舵铰链坐标信息不能为空", groups = {AddGroup.class, EditGroup.class})
    private String directionalRudderCoordinateSystemInformation;

    /**
     * 1g累计结果
     */
    @NotBlank(message = "1g累计结果不能为空", groups = {AddGroup.class, EditGroup.class})
    private String cumulativeResult1g;

    /**
     * 自定义上传文件
     */
    @NotBlank(message = "自定义上传文件不能为空", groups = {AddGroup.class, EditGroup.class})
    private String uploadCustomizationFile;

    /**
     * 轮次
     */
    private String roundNumber;

    /**
     * 子类型
     */
    @NotBlank(message = "子类型不能为空", groups = {AddGroup.class, EditGroup.class})
    private String subType;

    /**
     * 载荷名称
     */
    @NotBlank(message = "载荷名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String loadName;

    /**
     * 机型
     */
    @NotBlank(message = "机型不能为空", groups = {AddGroup.class, EditGroup.class})
    private String modelNumber;


}
